class Dict(dict):

        def __init__(self, **kw):
            super().__init__(self, **kw)
            # super.__init__()

        def __getattr__(self, key):
            try:
                return self[key]
            except KeyError:
                # raise AttributeError(r"'Dict', object has no attribute '%s'" % key)
                raise AttributeError(r"'Dict' object has no attribute '%s'" % key)

        def __setattr__(self, key, value):
            self[key] = value

        def aaa(self):
            print('aaa')

        ####git remote add origin https://gitee.com/Amoxz/LearnPy.git

